package com.ruoyi.common.core.constant;

/**
 * Token的Key常量
 * 
 * @author ruoyi
 */
public class TokenConstants
{
    /**
     * 令牌前缀
     */
    public static final String PREFIX = "Bearer ";

    /**
     * 令牌秘钥
     */
    public final static String SECRET = "abcdefghijklmnopqrstuvwxyz";

    public static final String TOKEN_PREFIX = "ACCESS ";
    public static final String REFRESHTOKEN_PREFIX =   "REFRESH";

    public static long accessTokenExpiration=30*60*1000  ;//# 30分钟
    public static long refreshTokenExpiration=604800000  ; //# 7天

}
